<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>导航页-清风品道</title>
<% String contextPath = request.getContextPath(); %>
<link rel="stylesheet" type="text/css" href="<%= contextPath + "/css/nav.css" %>" />
</head>
<body>
	<%
	String name = (String)session.getAttribute("name");
	%>
	<div style="text-align:right">
		<% if(name != null) { %>
		<label>你好，<%=name %></label>&nbsp;&nbsp;&nbsp;
		<a href="<%= contextPath + "/logout.jsp" %>">退出</a>
		<% } else { %>
		<a href="<%= contextPath + "/login.jsp" %>">登录</a>
		<% } %>
		&nbsp;&nbsp;&nbsp;
		<a href="<%= contextPath + "/register.jsp" %>">注册</a>&nbsp;&nbsp;&nbsp;
		<br />
	</div>
	<div style="text-align:center"><img src="<%= contextPath + "/image/logo.bmp" %>" alt="清风品道" /></div>
	
	<div id="nav">
		<ul>
			<li><a id="navIndex" href="<%= contextPath + "/index.jsp" %>" target="_blank">首页</a></li>
			<li><a id="navQf-kingo" href="<%= contextPath + "/qf-kingo.jsp" %>" target="_blank">关于清风品道</a></li>
			<li><a id="navKingo" href="<%= contextPath + "/kingo.jsp" %>" target="_blank">KINGO围棋王国</a></li>
			<li><a id="navMatch" href="<%= contextPath + "/match.jsp" %>" target="_blank">赛事活动</a></li>
			<li><a id="navTrends" href="<%= contextPath + "/trends.jsp" %>" target="_blank">企业动态</a></li>
			<li><a id="navParadise" href="<%= contextPath + "/paradise.jsp" %>" target="_blank">亲子乐园</a></li>
			<li><a id="navGift" href="<%= contextPath + "/gift.jsp" %>" target="_blank">围棋礼品</a></li>
			<li><a id="navNews" href="<%= contextPath + "/news.jsp" %>" target="_blank">媒体报道</a></li>
			<li><a id="navContact" href="<%= contextPath + "/contact.jsp" %>" target="_blank">联系我们</a></li>
			<li><a id="navInvitation" href="<%= contextPath + "/invitation.jsp" %>" target="_blank">人才招聘</a></li>
			<li><a id="navMail" href="<%= contextPath + "/mail.jsp" %>" target="_blank">客诉信</a></li>
		</ul>
	</div>
	
</body>
</html>